﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fruit.DAL;
using FS.Model.Model;

namespace Fruit.BLL
{
    /// <summary>
    /// 用户信息-业务逻辑
    /// </summary>
    public class UserInfoManager
    {
        UserInfoService service = new UserInfoService();

        /// <summary>
        /// 用户增加或者修改
        /// </summary>
        /// <param name="userinfo"></param>
        public void SaveOrUpdate(UserInfo userinfo)
        {
            if (userinfo != null)
            {
                service.SaveOrUpdate(userinfo);
            }
        }
    }
}
